﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AppleAutoBuy.WebSite._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Test</title>
    <script type="text/javascript">
        window.onerror = function () {
             
            return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <%--<iframe id="iframe1" width="800px" height="600px" src="http://reserve.apple.com/WebObjects/ProductReservation.woa/wa/reserveProduct?lang=zh&country=CN&prelaunch=MC605CH_A">
        <script type="text/javascript">
            function selectStore(index) {
                var allSelects = document.getElementsByTagName("select");
                alert(allSelects[0].dafd);
            }
        </script>
        </iframe>--%>
        <select id="select" >
            <option>1</option>
            <option>2</option>
            <option>1</option>
            <option>2</option>
            <option>1</option>
            <option>2</option>
        </select>
        <input  type="button" value="Select" onclick="selectStore(3);"/>
         <script type="text/javascript">
//             function selectStore(index) {
//                 var allSelects = document.getElementById("select");
//                 allSelects.focus();
//                 allSelects.click();
//             }

//             Gianduia.AppKit.NSPopUpButton.
        </script>
    </div>
    </form>
</body>
</html>
